<?php foreach ($schema as $menu => $values): ?>
<ul class="menu" onmouseover='addHover(this)' onmouseout='removeHover(this)'>
  <li class="menu_label"><span><?php echo $menu ?></span>
    <ul class="menudrop">
<?php foreach ($values as $model): ?>
      <li><?php echo link_to($model[0], $model[1]) ?></li>
<?php endforeach ?>
    </ul>
  </li>
</ul>
<div class="divider"></div>
<?php endforeach ?>